package com.verify.resp;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 标记注解:
 * 用在controller的方法或类上, 用于统一处理返回值
 *
 * @author Justyn
 * @date 2022/11/14 17:26
 */
@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface ResponseAdvice {
    boolean value() default true;
}
